Skip to content

LG-15974: Add document_type column to in_person_enrollments table#12096

Merged
lmgeorge merged 1 commit intomainfrom
lmgeorge/LG-15974/add_document_type_column_to_in_person_enrollments
Apr 22, 2025
Merged

LG-15974: Add document_type column to in_person_enrollments table#12096
lmgeorge merged 1 commit intomainfrom
lmgeorge/LG-15974/add_document_type_column_to_in_person_enrollments

Conversation

@lmgeorge
Copy link
Contributor

@lmgeorge lmgeorge commented Apr 22, 2025

🎫 Ticket

Link to the relevant ticket:
LG-15974

🛠 Summary of changes

Adds a new, unindexed document_type column to in_person_enrollments to pass along the type of photo ID used for an in-person proofing enrollment to our vendors.

@lmgeorge lmgeorge requested review from a team and WilliamBirdsall April 22, 2025 15:01
@lmgeorge lmgeorge force-pushed the lmgeorge/LG-15974/add_document_type_column_to_in_person_enrollments branch from 9e06e4c to 6bd19e3 Compare April 22, 2025 15:20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to specify a default value for the new column and then remove the need to run a roll plan that backfills existing data? PostgreSQL docs suggest it's possible. Curious what you think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question! Having a default value would make investigations/debugging much harder when tracing failures, so I was specifically opting to not use a default value here as it would require a second migration to remove the default value option at an unpredictable later date.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for explaining!

(This isn't a blocking question for this PR. It's more of a question for the overall work on LG-15974.) I'm curious if you're planning on leaving the column nullable after running the roll plan, or if you're planning on making it non-nullable?

It could be nice to have a more descriptive comment in the schema. This is also non-blocking.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the great callouts! Will add the descriptive comment piece as an AC to the third subtask (backfilling the values).

I'm curious if you're planning on leaving the column nullable after running the roll plan, or if you're planning on making it non-nullable?

It makes sense to leave it nullable, but this could change depending on what comes out of technical (re-) refinement.

Copy link
Contributor

@shanechesnutt-ft shanechesnutt-ft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my end! Good work! 👍🏻

Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]
@lmgeorge lmgeorge force-pushed the lmgeorge/LG-15974/add_document_type_column_to_in_person_enrollments branch from 6bd19e3 to c2ad4b0 Compare April 22, 2025 18:26
@lmgeorge lmgeorge merged commit ae87756 into main Apr 22, 2025
1 check passed
@lmgeorge lmgeorge deleted the lmgeorge/LG-15974/add_document_type_column_to_in_person_enrollments branch April 22, 2025 18:48
@gina-yamada gina-yamada self-requested a review April 22, 2025 18:53
@gina-yamada
Copy link
Contributor

Approved! I just tested it locally! Nice work @lmgeorge !! 💯 (I know you just merged it but thought I would commented)

MrNagoo pushed a commit that referenced this pull request Apr 28, 2025
Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]
MrNagoo pushed a commit that referenced this pull request Apr 28, 2025
Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]
MrNagoo pushed a commit that referenced this pull request Apr 28, 2025
Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]
MrNagoo added a commit that referenced this pull request Aug 12, 2025
update config

update connector

update identity config

LG-15974: Add document_type to in_person_enrollments table (#12096)

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]

files

Add table to record user confirmation of duplicate profiles (#12081)

changelog: Upcoming Features, One Account, Add table to record user confirmation of duplicate profiles

LG-15974: Add document_type to in_person_enrollments table (#12096)

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]

files

LG-15974: Add document_type to in_person_enrollments table (#12096)

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]

config

turn off config

turn off config

update

turn off health check

update config

stop data-warehouse

undo gem

blank model

turn on the WAR HOUSE

gemfile

lock

update typo

turn off warehouse

turn off

remove dw ref

undo adapter

redshift again

update the WARHOUSE

use store

update config

redshift maybe

report house

make instance

update prefix

update configuration hash

ssl mode

root cert, search paths

rm ssl

rm unused controller
MrNagoo added a commit that referenced this pull request Oct 30, 2025
update config

update connector

update identity config

LG-15974: Add document_type to in_person_enrollments table (#12096)

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]

files

Add table to record user confirmation of duplicate profiles (#12081)

changelog: Upcoming Features, One Account, Add table to record user confirmation of duplicate profiles

LG-15974: Add document_type to in_person_enrollments table (#12096)

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]

files

LG-15974: Add document_type to in_person_enrollments table (#12096)

Used to pass the type of ID to downstream IPP vendor

Sub-task: LG-16126

[skip changelog]

config

turn off config

turn off config

update

turn off health check

update config

stop data-warehouse

undo gem

blank model

turn on the WAR HOUSE

gemfile

lock

update typo

turn off warehouse

turn off

remove dw ref

undo adapter

redshift again

update the WARHOUSE

use store

update config

redshift maybe

report house

make instance

update prefix

update configuration hash

ssl mode

root cert, search paths

rm ssl

rm unused controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants